package ooday05;
 /* 季节枚举 */
public enum Season {
 SPRING("春天","凉快"),
  SUMMER("夏天","热"),
  AUTUMN("秋天","萧瑟"),
  WINTER("冬天","寒冷");  //表示Season的4个对象----四个常量

  private String seasonName;
  private String seasonDesc;

  Season(String seasonName, String seasonDesc) {
   this.seasonName = seasonName;
   this.seasonDesc = seasonDesc;
  }

  public String getSeasonName() {
   return seasonName;
  }

  public void setSeasonName(String seasonName) {
   this.seasonName = seasonName;
  }

  public String getSeasonDesc() {
   return seasonDesc;
  }

  public void setSeasonDesc(String seasonDesc) {
   this.seasonDesc = seasonDesc;
  }

 }
